

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#netif/ppp/ppp_opts.h" class="nav-sub-label">netif/ppp/ppp_opts.h</a>
              </li>
      

              <li>
                <a href="#lwip/sys.h" class="nav-sub-label">lwip/sys.h</a>
              </li>
      

              <li>
                <a href="#ppp.h" class="nav-sub-label">ppp.h</a>
              </li>
      

              <li>
                <a href="#vj.h" class="nav-sub-label">vj.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#PPPOS_H" class="nav-sub-label">PPPOS_H</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#pppos_create" class="nav-sub-label">pppos_create</a>
              </li>
      

              <li>
                <a href="#pppos_input_tcpip" class="nav-sub-label">pppos_input_tcpip</a>
              </li>
      

              <li>
                <a href="#pppos_input" class="nav-sub-label">pppos_input</a>
              </li>
      

              <li>
                <a href="#pppos_input_sys" class="nav-sub-label">pppos_input_sys</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#pppos_output_cb_fn" class="nav-sub-label">pppos_output_cb_fn</a>
              </li>
      

              <li>
                <a href="#ext_accm[32]" class="nav-sub-label">ext_accm[32]</a>
              </li>
      

              <li>
                <a href="#pppos_pcb" class="nav-sub-label">pppos_pcb</a>
              </li>
      
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="netif/ppp/ppp_opts.h"><span>netif/ppp/ppp_opts.h</span></h4>
      <pre class="doc-declare"><code>#include "netif/ppp/ppp_opts.h"
</code></pre>
      <pre class="doc-comment">#include "netif/ppp/ppp_opts.h"
</pre>

      <h4 id="lwip/sys.h"><span>lwip/sys.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/sys.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/sys.h"
</pre>

      <h4 id="ppp.h"><span>ppp.h</span></h4>
      <pre class="doc-declare"><code>#include "ppp.h"
</code></pre>
      <pre class="doc-comment">#include "ppp.h"
</pre>

      <h4 id="vj.h"><span>vj.h</span></h4>
      <pre class="doc-declare"><code>#include "vj.h"
</code></pre>
      <pre class="doc-comment">#include "vj.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="PPPOS_H">Marco <span>PPPOS_H</span></h4>
      <pre class="doc-declare"><code>#define PPPOS_H
</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="pppos_create">Func <span>pppos_create</span></h4>
      <pre class="doc-declare"><code>ppp_pcb *pppos_create(struct netif *pppif, pppos_output_cb_fn output_cb,
      ppp_link_status_cb_fn link_status_cb, void *ctx_cb);</code></pre>
      <pre class="doc-comment">/* Create a new PPPoS session. */</pre>

      <h4 id="pppos_input_tcpip">Func <span>pppos_input_tcpip</span></h4>
      <pre class="doc-declare"><code>err_t pppos_input_tcpip(ppp_pcb *ppp, u8_t *s, int l);</code></pre>
      <pre class="doc-comment">/* Pass received raw characters to PPPoS to be decoded through lwIP TCPIP thread. */</pre>

      <h4 id="pppos_input">Func <span>pppos_input</span></h4>
      <pre class="doc-declare"><code>void pppos_input(ppp_pcb *ppp, u8_t* data, int len);</code></pre>
      <pre class="doc-comment">/* PPP over Serial: this is the input function to be called for received data. */</pre>

      <h4 id="pppos_input_sys">Func <span>pppos_input_sys</span></h4>
      <pre class="doc-declare"><code>err_t pppos_input_sys(struct pbuf *p, struct netif *inp);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="vars">Vars</h3>
      
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      

      <h4 id="pppos_output_cb_fn">Typedef <span>pppos_output_cb_fn</span></h4>
      <pre class="doc-declare"><code>typedef u32_t (*pppos_output_cb_fn)(ppp_pcb *pcb, u8_t *data, u32_t len, void *ctx);
</code></pre>
      <pre class="doc-comment">/* PPPoS serial output callback function prototype */</pre>

      <h4 id="ext_accm[32]">Typedef <span>ext_accm[32]</span></h4>
      <pre class="doc-declare"><code>typedef u8_t ext_accm[32];
</code></pre>
      <pre class="doc-comment">/*
 * Extended asyncmap - allows any character to be escaped.
 */</pre>

      <h4 id="pppos_pcb">Typedef <span>pppos_pcb</span></h4>
      <pre class="doc-declare"><code>typedef struct pppos_pcb_s pppos_pcb;
</code></pre>
      <pre class="doc-comment">/*
 * PPPoS interface control block.
 */</pre>
    </div>
  </body>
</html>
            